package lei.g_java数组;




import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import com.google.common.collect.Lists;

import static com.google.api.client.util.Lists.*;

/**
 * @className: 数组
 * @author: xl
 * @date: 2025/7/15 21:59
 * @Version: 1.0
 * @description:
 */

public class 数组 {

    public static void main(String[] args) {
        int list1[]={1,2,3,4,5};

        List<Integer> list2 = Lists.newArrayList(1, 2, 3);


        List<Integer> list3= Arrays.asList(1,2,3,5,67);

        List<Integer> list = new ArrayList<>(List.of(1, 2, 3));




    }
}

